package com.ruoyi.omsampuser.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户文章连接对象 om_sampuser
 * 
 * @author ruoyi
 * @date 2025-02-24
 */
public class OmSampuser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联表序号 */
    private Long sampuserId;

    /** 文章id */
    @Excel(name = "文章id")
    private Long sampuserSaid;

    /** MP用户id */
    @Excel(name = "MP用户id")
    private String sampuserMpuid;

    /** MP用户openid */
    @Excel(name = "MP用户openid")
    private String sampuserOpenid;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sampuseCreatetime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sampuseUpdatetime;

    public void setSampuserId(Long sampuserId) 
    {
        this.sampuserId = sampuserId;
    }

    public Long getSampuserId() 
    {
        return sampuserId;
    }
    public void setSampuserSaid(Long sampuserSaid) 
    {
        this.sampuserSaid = sampuserSaid;
    }

    public Long getSampuserSaid() 
    {
        return sampuserSaid;
    }
    public void setSampuserMpuid(String sampuserMpuid) 
    {
        this.sampuserMpuid = sampuserMpuid;
    }

    public String getSampuserMpuid() 
    {
        return sampuserMpuid;
    }
    public void setSampuserOpenid(String sampuserOpenid) 
    {
        this.sampuserOpenid = sampuserOpenid;
    }

    public String getSampuserOpenid() 
    {
        return sampuserOpenid;
    }
    public void setSampuseCreatetime(Date sampuseCreatetime) 
    {
        this.sampuseCreatetime = sampuseCreatetime;
    }

    public Date getSampuseCreatetime() 
    {
        return sampuseCreatetime;
    }
    public void setSampuseUpdatetime(Date sampuseUpdatetime) 
    {
        this.sampuseUpdatetime = sampuseUpdatetime;
    }

    public Date getSampuseUpdatetime() 
    {
        return sampuseUpdatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sampuserId", getSampuserId())
            .append("sampuserSaid", getSampuserSaid())
            .append("sampuserMpuid", getSampuserMpuid())
            .append("sampuserOpenid", getSampuserOpenid())
            .append("sampuseCreatetime", getSampuseCreatetime())
            .append("sampuseUpdatetime", getSampuseUpdatetime())
            .toString();
    }
}
